count=0
while count<3:
	name=input("Name:")
	pwd=input("pwd:")
	if name=="htzd" and pwd=="1234":
		print("Welcome!")
		break
	else:
		print("Name or Pwd Err.")
	count+=1
else:
	print("Try again later.")
